package cn.bugstack.domain.credit.repository;

import cn.bugstack.domain.credit.model.aggregate.TradeAggregate;
import cn.bugstack.domain.credit.model.entity.CreditAccountEntity;

/**
 * @Title: IcrediteRepository
 * @Author tong
 * @Package cn.bugstack.domain.credit.repository
 * @Date 2025/6/20 11:31
 * @description: 用户积分仓储
 */
public interface ICreditRepository {
    void saveUserCreditTradeOrder(TradeAggregate tradeAggregate);

    CreditAccountEntity queryUserCreditAccount(String userId);
}
